<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta charset="UTF-8">
<title>论坛</title>
</head>

<body style="margin: 0px">
<img  src="${pageContext.request.contextPath}/img/bg1.jpg" style="z-index: -1;position: fixed;">
<div style="" >
<%@ include file="top.jsp" %>
</div>
<div style="position: fixed ;z-index: -1">

</div>


<div id="lt01" style="margin: 0px auto;"align="center" >

<div id="lt0101"style="text-align:left;border:1px solid #000;width: 80%;margin-top: 20px;padding: 10px;background-color: white">
	
	<font size="6">${responseList[0].ltpl02}</font>

<div style="float:right">
只看楼主&nbsp
<div style="float:right">
<a href="#lt0104">回复</a>
</div>
</div>

</div>

<div id="lt0103"style="border:1px solid #000;width:80%;margin-top: 20px;background-color: white">

<c:forEach items="${responseList}" var="response" >
	<div  style="border-bottom: 1px solid #000 ;height: 200px" >
		<div style="width: 100px;float: left;background-color: #e5e5e5;padding: 5px">
		${response.ltpl03 }
		</div>
		
		<div style=" height: 200px;background-color: #f5f5f5;">
		<div >
		${response.ltpl04 }
		</div>
		
		<div style="float:">
		${response.ltpl07 }
		${response.ltpl08 }楼
		</div>
		</div>

		

	</div>
	
</c:forEach>
</div>
<div id="lt0104 "style="border:1px solid #000;width:80%;margin-top: 20px;background-color: white">
	<div align="left" style="padding:10px">
	评论
	<form action="${pageContext.request.contextPath}/forum/insertResponse.action?" method="post">
	<textarea style="width: 800px;height: 200px" name="ltpl04"></textarea>
	<input type="hidden" name="ltpl06" value="${responseList[0].ltpl06}"> 
	<input type="hidden" name="ltpl02" value="${responseList[0].ltpl02}"> 
	<input type="hidden" name="ltpl07" value=""> 
	<input type="hidden" name="ltpl05" value="1"> 
	<input type="submit" value="发表评论" >
	</form>
	</div>

</div>

</div>

</body>
</html>